class UnreadMsg {
  static int _messagesCount = 0;

  //UnreadMsg({this.messagesCount});

  UnreadMsg.fromJson(Map<String, dynamic> json) {
    _messagesCount = json['messagesCount'];
  }

  static int get messagesCount => _messagesCount;

  static set messagesCount(int value) {
    _messagesCount = value;
  }
}
